package cn.xiaopengstack.infrastructure.persistent.dao;

import cn.xiaopengstack.infrastructure.persistent.po.CrowdTags;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author jiangyangang
* @description 针对表【crowd_tags(人群标签)】的数据库操作Mapper
* @createDate 2025-10-13 16:51:01
* @Entity cn.xiaopengstack.infrastructure.persistent.po.CrowdTags
*/
@Mapper
public interface ICrowdTagsDao {

    int deleteByPrimaryKey(Long id);

    int insert(CrowdTags record);

    int insertSelective(CrowdTags record);

    CrowdTags selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CrowdTags record);

    int updateByPrimaryKey(CrowdTags record);

    /**
     * 更新标签统计数据
     * @param tagId
     * @param tagNumber
     */
    void updateByTagsStatistics(@Param("tagId") String tagId, @Param("tagNumber") Integer tagNumber);
}
